This is equivalent to g_bit_trylock(), but working on pointers (or other pointer-sized values).
For portability reasons, you may only lock on the bottom 32 bits of the pointer.
While @address has a volatile qualifier, this is a historical artifact and the argument passed to it should not be volatile.
a pointer to a #gpointer-sized value
a bit value between 0 and 31
%TRUE if the lock was acquired
2.30
See Implementation
This is equivalent to g_bit_trylock(), but working on pointers (or other pointer-sized values).
For portability reasons, you may only lock on the bottom 32 bits of the pointer.
While @address has a volatile qualifier, this is a historical artifact and the argument passed to it should not be volatile.